package com.ruibang.glass.equipment.entity.device;

import com.baomidou.mybatisplus.annotation.*;

import com.ruibang.glass.equipment.dto.FileInfoDTO;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel
@TableName(value = "g_equipment_accident_rectification")
/**
 * 锅炉
 */
public class AccidentRectification extends BaseEntity implements Serializable {
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "事故、故障名称")
    private String accidentName;
    @ApiModelProperty(value = "整改单位")
    private String rectificationUnit;
    @ApiModelProperty(value = "整改责任人")
    private String responsiblePerson;
    @ApiModelProperty(value = "整改措施")
    private String rectificationMeasures;
    @ApiModelProperty(value = "整改基本情况")
    private String rectificationBasis;
    @ApiModelProperty(value = "整改完图")
    private String rectificationCompletionPhotos;
    @ApiModelProperty(value = "完成时间")
    private String completionTime;
    @ApiModelProperty(value = "领导确认")
    private String leaderConfirmation;
    @ApiModelProperty(value = "备注")
    private String notes;

    @ApiModelProperty(value = "整改责任人Id")
    private String responsiblePersonId;

    @TableField(exist = false)
    private String fileExist;

    @TableField(exist = false)
    private List<String> removeIdList;

    @TableField(exist = false)
    private List<FileInfoDTO> fileList;


    @TableField(exist = false)
    private List<String> ids;

    @TableField(exist = false)
    private List<String> filesIds;
    @TableLogic
    private String isDelete;
}
